package com.itheima.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.Result;
import com.itheima.pojo.Spec;



public interface SpecService extends IService<Spec> {

    Result<Spec> findPage(Integer curPage, Integer size);


    Result add(Spec spec);

    Result<Spec> findById(Integer id);

    Result updateSpec(Spec spec);

    Result deleteById(Integer id);
}
